package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsCategory;
import top.deepdesigner.vo.CatVo;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/22 星期四 14:48:02 <br/>
 */
public interface DtsCategoryService {
  List<DtsCategory> getCategoryList();

  List<DtsCategory> getCategoryList(Integer page, Integer limit, String sort, String order,String id, String name);

  List<String> getCategoryLevelList();

  Long getCategoryCount();

  List<CatVo> getCategoryLevel(String level);

  DtsCategory createCategory(DtsCategory category);

  Boolean updateCategory(DtsCategory category);

  Boolean deleteCategory(DtsCategory category);
}
